Skip to content

Conversation

@camielvs
Copy link
Collaborator

@camielvs camielvs commented Dec 11, 2025

Description

Changes the default error fallback for useSuspenseWrapper to be a smaller, more modest icon rather than a large info box.

Related Issue and Pull requests

Type of Change

  • Improvement

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Before:

image.png

After:

image.png

Test Instructions

Additional Comments

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@camielvs camielvs marked this pull request as ready for review December 11, 2025 19:13
@camielvs camielvs force-pushed the 12-11-a_more_modest_error_fallback branch 2 times, most recently from fd5b1d4 to ca40873 Compare December 11, 2025 19:22
Copy link
Collaborator

I'm not convinced that this should be the default behavior. I don't think there is a "one size fits all" solution. Instead I would advocate for per use-case solution.

This specific case will be addressed in PR https://app.graphite.com/github/pr/TangleML/tangle-ui/1568/feat-optional-yaml-libraries (or can be done separately)

Copy link
Collaborator Author

There definitely isn't a one-size-fits-all solution. But I do feel something less intrusive and a little cleaner as the generic default would be nicer than what we have currently.

@camielvs camielvs force-pushed the 12-11-a_more_modest_error_fallback branch from ca40873 to 89237d7 Compare January 14, 2026 20:21
@camielvs camielvs requested a review from a team as a code owner January 14, 2026 20:21
Copy link
Collaborator Author

@maxy-shpfy I had a look at various scenarios where this new default could pop up. THere's quite a lot of places we're using the suspense wrapper already so it would be a bit much work to try manually define them all at this time. For now the default will need to suffice. See the random selection of screenshots below.

Pipeline Row
image.png

image.png

Component Editor

image.png

Published Component Details

image.png

Connected Library

image.png

Code Viewer

image.png

Copy link
Collaborator Author

Seems okay. Definitely some cases where it could be improved but I think this is a step in the right direction. As discussed I'll merge in and we can iterate over time.

Copy link
Collaborator Author

camielvs commented Jan 14, 2026

Merge activity

  • Jan 14, 8:34 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jan 14, 8:34 PM UTC: @camielvs merged this pull request with Graphite.

@camielvs camielvs merged commit 6a9ac7e into master Jan 14, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants